﻿using QG.FrontDesk.BLL.IService;
using QG.FrontDesk.DAL.IRepository;
using QG.FrontDesk.Model;
using System.Collections.Generic;

namespace QG.FrontDesk.BLL.Service
{
    public class IndustryService : IIndustryService
    {
        private IIndustryRepository industryRepository;

        public IndustryService(IIndustryRepository industryRepository)
        {
            this.industryRepository = industryRepository;
        }
        /// <summary>
        ///获取所有行业领域
        /// </summary>
        /// <returns></returns>
        public List<Industry> GetIndustries()
        {
            return industryRepository.GetIndustries();
        }

    }
}
